package Ejercicios;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author djdracku
 */
public class Conversiondouble {
public static void main(String args[]){

        Double  a= 0.0;

 Float ta=a.floatValue();      //Doble a flotante a doble string entero
 System.out.println("float"+ta);

 Double de = ta.doubleValue();
 System.out.println("double"+de);

 String st = de.toString();
 System.out.println("string"+st);

 st=st.substring(0, 1);
 int in= Integer.parseInt(st);
 System.out.println("entero"+in);



    }

}
